package org.esprit.ocm.client.model.ec2;

import com.smartgwt.client.widgets.grid.ListGridRecord;

public class ImageRecord extends ListGridRecord {

	public ImageRecord() {
	} 

//	public ImageRecord(String id, String manifest, String state, String owner, String visibility, String architecture) {
//		 setId(id);
//		 setManifest(manifest);
//		 setState(state);
//		 setOwner(owner);
//		 setVisibility(visibility);
//		 setArchitecture(architecture);
//	}

	public String getId() {
		return getAttributeAsString("id");
	}

	public String getManifest() {
		return getAttributeAsString("manifest");
	}

	public String getState() {
		return getAttributeAsString("state");
	}

	public String getOwner() {
		return getAttributeAsString("owner");
	}

	public String getVisibility() {
		return getAttributeAsString("visibility");
	}

	public String getArchitecture() {
		return getAttributeAsString("architecture");
	}

	public void setId(String id) {
		setAttribute("id", id);
	}

	public void setManifest(String manifest) {
		setAttribute("manifest", manifest);
	}

	public void setState(String state) {
		setAttribute("state", state);
	}

	public void setOwner(String owner) {
		setAttribute("owner", owner);
	}

	public void setVisibility(String visibility) {
		setAttribute("visibility", visibility);
	}

	public void setArchitecture(String architecture) {
		setAttribute("architecture", architecture);
	}
	
	public String getKernelId() {
		return getAttributeAsString("kernelId");
	}

	public void setKernelId(String kernelId) {
		setAttribute("kernelId", kernelId);
	}
	
	public String getRamdiskId() {
		return getAttributeAsString("ramdiskId");
	}

	public void setRamdiskId(String ramdiskId) {
		setAttribute("ramdiskId", ramdiskId);
	}

	public String getImageType() {
		return getAttributeAsString("imageType");
	}

	public void setImageType(String imageType) {
		setAttribute("imageType", imageType);
	}
	
}